
	    <style>
	    	.datagrid-htable, .datagrid-btable, .datagrid-ftable {
	    		width:100%;
	    	}
	    	.datagrid-header-inner{
	    		width: 100%;
	    	}
	    	.panel{
	    		/*margin-top:100px;*/
	    	}
	    	.button-blue{
	    		width:200px;
	    		height:38px;
	    		margin:0 auto;
	    		line-height: 38px;
	    		text-align: center;
	    		background-color:#6293BB !important;
	    		margin-right:15px;
	    	}
	    	.button-blue a{
	    		color:#ffffff;
	    		font-size:16px;
	    		display: block;
	    	}
	    	#amend:hover{
	    		background:#47769c;
	    	}
	    </style>
	</head>

		<div class="easyui-layout" data-options="fit:true">
			<!--<div data-options="region:'north'" height="61px">
				<div class="l" style="top: 11px;left:50%; margin-left：-48px; margin-top:10px;">

				</div>
				<div class="" style="top: 11px;right:10px;float:right;">
					<div class="button-blue">
						<a id="amend" href="show"></a>
					</div>
				</div>
			</div>-->
			<div data-options="region:'center'">
				<table class="easyui-datagrid" title="企业信息" style="width:100%px;height:100%" id="dg">
				</table>
			</div>
		</div>
	<script>
		/*$(function() {*/
			var amend = $("#amend");
			/**
			 * 构造datagrid
			 */
			var dg = $('#dg').datagrid({
				singleSelect: true,
	            iconCls: 'icon-save',
	            url: 'find_company',
	            method: 'get',
	            pagination: true,
	            rowStyler: function(index,row){
	                if (row.attr1 == "已领取"){
	                    return 'background-color:#6293BB;color:#fff;font-weight:bold;';
	                }
	            },
				columns: [
					[{
						field: 'company',
						title: '公司名称',
						width: 200,
						halign: 'center',
						align: 'left',
					}, {
						field: 'name',
						title: '注册人姓名',
						width: 60,
						halign: 'center',
						align: 'left'
					}, {
						field: 'email',
						title: '邮箱',
						width: 150,
						halign: 'center',
						align: 'left'
					}, {
						field: 'phone',
						title: '手机号',
						halign: 'center',
						align: 'left',
						width: 100
					}, {
						field: 'date',
						title: '时间',
						halign: 'center',
						align: 'left',
						width: 250
					}]
				],
			});
		/*});*/


	</script>